FROM docker.io/tomcat:9.0.67-jdk8
# 修改docker时区为东八区，规避应用运行时间与北京时间相差8小时问题  
COPY test.war /usr/local/tomcat/webapps/test.war
ENV TZ=Asia/Shanghai
ENV LANG en_US.UTF-8  
CMD ["/usr/local/tomcat/bin/catalina.sh","run"]